﻿using System;
using System.ComponentModel;
using System.Runtime.Serialization;

namespace Server.Dto
{
    [DataContract]
    public class UserDto
    {
        [Browsable(false), EditorBrowsable(EditorBrowsableState.Never)]
        [DataMember]
        public Guid Id { get; set; }

        [Browsable(false), EditorBrowsable(EditorBrowsableState.Never)]
        [DataMember]
        public string HardwareHash { get; set; }

        [DisplayName("IP地址")]
        [DataMember]
        public string IPAddress { get; set; }

        [DisplayName("端口")]
        [DataMember]
        public int Port { get; set; }

        [DisplayName("MAC地址")]
        [DataMember]
        public string Mac { get; set; }
    }
}
